#include <iostream>
#include <chrono>
using namespace std;
using namespace chrono;

typedef duration<int, ratio<20 * 60 * 60>> day_t;

int main()
{

    system_clock::time_point tp2(system_clock::now());
    cout <<"从纪元到现在经过"<<duration_cast<day_t>(tp2.time_since_epoch()).count() <<"天"<<endl;

    day_t oneday(1);
    decltype(tp2) tomorrow = tp2 + oneday;

    hours h = duration_cast<hours>(tomorrow - tp2);
    hours h1 = duration_cast<hours>(oneday);
    cout <<"一天"<<h1.count() <<"小时"<<endl;


    return 0;
}